import xmlrpclib
from pprint import pprint

uid=1
pwd="1989112"
dbname="11"
tcp_port="8069"
sock=xmlrpclib.ServerProxy("http://127.0.0.1:%s/xmlrpc/object" % tcp_port)

model="hr.employee.category"
method="read"

ids=[1,2,3]
fields=['name','complete_name','parent_id', 'child_ids']
result = sock.execute(dbname, uid, pwd,
                      model,method ,
                      ids, fields )
print "\n==== %s of %s ====" % (model, method)
pprint(result)